import request from '@/utils/request'

export function register(data) {
    return request({
        url: '/user/register',
        method: 'post',
        data
    })
}

export function register1(params) {
    return request({
        url: '/Admin/email',
        method: 'post',
        params
    })
}
export function register2(params) {
    return request({
        url: '/Admin/loginByemail',
        method: 'post',
        params
    })
}

export function registerpass(data) {
    return request({
        url: '/user/setPassword',
        method: 'post',
        data
    })
}
